//导出Vue的插件，在main.js中被使用
//注册全局组件
import PageTools from '@/components/PageTools/index.vue'
import UploadImg from '@/components/UploadImg/index.vue'
import ImageHolder from '@/components/ImageHolder/index.vue'


import ScreenFull from '@/components/ScreenFull/index.vue'
export default {
  install(Vue) {
    Vue.component("PageTools", PageTools);
    Vue.component("UploadImg", UploadImg);
    Vue.component("ImageHolder", ImageHolder);
    Vue.component("ScreenFull", ScreenFull);


    Vue.prototype.num = 10000
    Vue.prototype.hello = () => {
      alert('hello')
    }
  }
}